package com.group.sliding.constant;

public class Constants {
    public static final String MESSAGE_SUCCESS = "请求成功";
    public static final String MESSAGE_INTERNAL_ERROR = "服务器内部错误";
    public static final String MESSAGE_NOT_FOUND = "请求地址不存在";
    public static final String MESSAGE_REQUEST_METHOD_ERROR = "请求方式错误";
    public static final String MESSAGE_PARAMETER_ERROR = "参数错误";

    private static final String REDIS_KEY_PREFIX = "sliding:";
    public static final String REDIS_KEY_USERS = REDIS_KEY_PREFIX + "users";
    public static final String REDIS_KEY_CARTS = REDIS_KEY_PREFIX + "carts";
    public static final String REDIS_KEY_ADDRESSES = REDIS_KEY_PREFIX + "addresses";
    public static final String REDIS_KEY_LOGISTICS = REDIS_KEY_PREFIX + "logistics";
    public static final String REDIS_KEY_ORDERS = REDIS_KEY_PREFIX + "orders";
    public static final String REDIS_KEY_ORDER_DETAIL = REDIS_KEY_PREFIX + "order_detail";
    public static final String REDIS_KEY_PAY_ORDERS = REDIS_KEY_PREFIX + "pay_orders";
}
